package com.easyhouse.user;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-service")
@RequestMapping("/user/manage")
public interface UserApi {
    @RequestMapping("/queryUserId")
    public String queryByUserId(@RequestParam("userId") String userId);
}
